﻿using System.Drawing;

namespace Basic.WxApiRemoteModel.WxMini.Model
{
    public enum MiniEnvVersion
    {
        release,
        trial,
        develop
    }
    public class QrCreateParam
    {
        /// <summary>
        /// 场景值
        /// </summary>
        public string Scene
        {
            get;
            set;
        }
        /// <summary>
        /// 检查page 是否存在
        /// </summary>
        public bool CheckPath
        {
            get;
            set;
        } = true;
        /// <summary>
        /// 路径
        /// </summary>
        public string Page
        {
            get;
            set;
        }
        /// <summary>
        /// 宽度
        /// </summary>
        public int Width
        {
            get;
            set;
        }
        /// <summary>
        /// 如果颜色依然是黑色，则说明不建议配置主色调
        /// </summary>
        public Color? LineColor { get; set; }
        /// <summary>
        /// 是否需要透明底色
        /// </summary>
        public bool IsHyaline { get; set; }
        /// <summary>
        /// 要打开的小程序版本
        /// </summary>
        public MiniEnvVersion EnvVersion { get; set; }
    }
}
